document.body.removeChild(win);
document.onmouseup=null;